<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
  <head>
  <meta charset="utf-8">
  <link rel="stylesheet" href="/PHPShiZhanDiLiuZu/yuejian6/Public/css/amazeui.min.css"/>
 <link rel="stylesheet" href="/PHPShiZhanDiLiuZu/yuejian6/Public/css/admin.css">
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Gentelella Alela! | </title>

    <!-- Bootstrap -->
    <link href="/PHPShiZhanDiLiuZu/yuejian6/Public/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="/PHPShiZhanDiLiuZu/yuejian6/Public/css/font-awesome.min.css" rel="stylesheet">
    <!-- NProgress -->
    <link href="/PHPShiZhanDiLiuZu/yuejian6/Public/css/nprogress.css" rel="stylesheet">
    
    <!-- Custom styling plus plugins -->
    <link href="/PHPShiZhanDiLiuZu/yuejian6/Public/css/custom.min.css" rel="stylesheet"> 
  </head>

  <body class="nav-md">
    <div class="container body">
      <div class="main_container">
        <div class="col-md-3 left_col">
                      <div class="left_col scroll-view">
            <div class="navbar nav_title" style="border: 0;">
              <a href="index.html" class="site_title">
                <img src="/PHPShiZhanDiLiuZu/yuejian6/Public\pic\images\logo.png" width="40">
               <span>威尔士健身</span></a>
            </div>

            <div class="clearfix"></div>

            <!-- menu profile quick info -->
            <div class="profile clearfix">
              <div class="profile_pic">
                <img src="/PHPShiZhanDiLiuZu/yuejian6/Public/pic/img.jpg" alt="..." class="img-circle profile_img">
              </div>
              <div class="profile_info">
                <span>俱乐部管理员</span>
                <h2>张诗敏</h2>
              </div>
            </div>
            <!-- /menu profile quick info -->

            <br />

            <!-- sidebar menu -->
            <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
              <div class="menu_section">
                <h3>约健6组</h3>
                <ul class="nav side-menu">
                  <li><a><img src="/PHPShiZhanDiLiuZu/yuejian6/Public\pic\px.png" width="25"> 培训 </a>
                    <ul class="nav child_menu">
                      <li><a href="/PHPShiZhanDiLiuZu/yuejian6/ClubAdmin/Course/courselist">课程管理</a></li>
                      <li><a href="/PHPShiZhanDiLiuZu/yuejian6/ClubAdmin/Course/ppnumber">报名管理</a></li>
                    </ul>
                  </li>
                  <li><a> <img src="/PHPShiZhanDiLiuZu/yuejian6/Public\pic\jlb1.png" width="25">俱乐部 </a>
                    <ul class="nav child_menu">
                      <li><a href="/PHPShiZhanDiLiuZu/yuejian6/ClubAdmin/Club/club">俱乐部管理</a></li>
                      <li><a href="/PHPShiZhanDiLiuZu/yuejian6/ClubAdmin/Club/quality">精品课程管理</a></li>
                      <li><a href="/PHPShiZhanDiLiuZu/yuejian6/ClubAdmin/Club/video">相关视频管理</a></li>    
                    </ul>
                  </li>
                  <li><a> <img src="/PHPShiZhanDiLiuZu/yuejian6/Public\pic\lm.png" width="25">约健体育联盟 </a>
                    <ul class="nav child_menu">
                      <li><a href="/PHPShiZhanDiLiuZu/yuejian6/ClubAdmin/Coach/coachList">教练管理</a></li>
                    </ul>
                  </li>
                </ul>
              </div>
            </div>
            <!-- /sidebar menu -->

            <!-- /menu footer buttons -->
            <div class="sidebar-footer hidden-small">
              
              <a data-toggle="tooltip" data-placement="top" title="退出" href="index.html">
                <span class="glyphicon glyphicon-off" aria-hidden="true"></span>
              </a>
            </div>
            <!-- /menu footer buttons -->
          </div>
        </div>
        <!-- top navigation -->
                    <div class="top_nav">
          <div class="nav_menu">
            <nav>
              <div class="nav toggle">
                <a id="menu_toggle"><i class="fa fa-bars"></i></a>
              </div>

              <ul class="nav navbar-nav navbar-right">
                <li class="">
                  <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                    <img src="/PHPShiZhanDiLiuZu/yuejian6/Public/pic/img.jpg" alt="">John Doe
                  </a>
                  <ul class="dropdown-menu dropdown-usermenu pull-right">
                    <li><a href="/PHPShiZhanDiLiuZu/yuejian6/Admin/Index/index">切换系统管理员</a></li>
                    <li><a href="/PHPShiZhanDiLiuZu/yuejian6/ClubAdmin/Index/index">退出登录</a></li>
                  </ul>
                </li>

              </ul>
            </nav>
          </div>
        </div>
        <!-- /top navigation -->



        <!-- 各自的模块在下面 -->
        <div class="right_col" role="main">


<div class="admin-biaogelist">  
    <div class="listbiaoti am-cf">
      <ul class="am-icon-flag on"> 课程管理</ul>
      
      <dl class="am-icon-home" style="float: right;"> 当前位置： 首页 > <a href="#">课程列表</a></dl>
      
      <dl>
        <button type="button" class="am-btn am-btn-danger am-round " ><a style="color: #FFF" href="addcourse.html">添加课程</a></button>
      </dl>
      
      
    </div>
  


    <form class="am-form am-g">
          <table width="100%" class="am-table am-table-bordered am-table-radius am-table-striped">
            <thead>
              <tr class="am-success">
        
              
                <th class="table-id">ID</th>
                <th class="table-title">标题</th>
                <th class="table-date">时间</th>
                <th class="table-address">地址</th>
                <th class="table-date am-hide-sm-only">图片</th>
                <th class="table-date">教练ID</th>
                <th width="163px" class="table-set">操作</th>

              </tr>
            </thead>

            
                <tbody>
                <?php if(is_array($course)): $i = 0; $__LIST__ = $course;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr> 
                <td><?php echo ($vo["course_id"]); ?></td>
                <td><?php echo ($vo["course_title"]); ?></td>
                <td><?php echo ($vo["course_date"]); ?></td>
                <td><?php echo ($vo["course_address"]); ?></td>
                <td><?php echo ($vo["course_pic"]); ?></td>
                <td><?php echo ($vo["coach_id"]); ?></td>
                <td><div class="am-btn-toolbar">
                <div class="am-btn-group am-btn-group-xs">
                <a href="<?php echo U('ClubAdmin/Course/altercourse');?>?id=<?php echo ($vo['course_id']); ?>">修改</a> 
                <a href="<?php echo U('ClubAdmin/Course/delcourse');?>?course_id=<?php echo ($vo['course_id']); ?>">删除</a>
                </div>
                </div>
                </td>
                </tr><?php endforeach; endif; else: echo "" ;endif; ?>

             
            </tbody>
          </table>
          <div><center><?php echo ($page1); ?> </center> </div>
        </form>
        </div>





        </div>
        <!-- /page content -->
      </div>




    </div>
    <!-- jQuery -->
    <script src="/PHPShiZhanDiLiuZu/yuejian6/Public/css/jquery.min.js"></script>
    <!-- Bootstrap -->
    <script src="/PHPShiZhanDiLiuZu/yuejian6/Public/css/bootstrap.min.js"></script>
    <!-- FastClick -->
    <script src="/PHPShiZhanDiLiuZu/yuejian6/Public/css/fastclick.js"></script>
    <!-- NProgress -->
    <script src="/PHPShiZhanDiLiuZu/yuejian6/Public/css/nprogress.js"></script>

    <!-- Custom Theme Scripts -->
    <script src="/PHPShiZhanDiLiuZu/yuejian6/Public/css/custom.min.js"></script>
  </body>
</html>